package com.demo.springboot.web;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {
    @RequestMapping("/demo")
    public String demo() {
        return "demo";
    }

    @RequestMapping("/test")
    public String test() {
        return "test";
    }
}
